﻿$(function () {
    SetupStatusBar();
});

var _statusBar;

function SetupStatusBar() {
    var statusBarOptions = {
        "target": $("#uxContent"),
        "location":"br"
    };
    _statusBar = new xjStatusBar(statusBarOptions);    
}

function AddStatusClick() {
    var status = {
        "type": "success",
        "message": "This is a sample Success message"
    };
    _statusBar.AddStatus(status);
}